<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-09-10
 * Time: 10:23
 */
namespace app\index\controller;
use app\index\model\Api;
class Message
{
    public function index1()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index2()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index3()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index4()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index5()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index6()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index7()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index8()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index9()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }
    public function index10()
    {
        $data = Api::getNews();

        return json(["code"=>200,"data"=>$data]);

    }



}